﻿<!DOCTYPE html>
<html lang="en" data-ng-app="app">
<head>
    <meta charset="utf-8"/>
  <meta name="renderer" content="webkit">
  <meta name=”renderer” content=”webkit” />
  <meta http-equiv="X-UA-Compatible" content="edge" />
  <title>中伟钢物联发展有限公司</title>
  <meta name="description" content="app, web app, responsive, responsive layout, admin, admin panel, admin dashboard, flat, flat ui, ui kit, AngularJS, ui route, charts, widgets, components" />
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
  <meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
  <link rel="stylesheet" href="css/bootstrap.css" type="text/css" />
  <link rel="stylesheet" href="css/animate.css" type="text/css" />
  <link rel="stylesheet" href="css/font-awesome.min.css" type="text/css" />
  <link rel="stylesheet" href="css/simple-line-icons.css" type="text/css" />
  <link rel="stylesheet" href="css/font.css" type="text/css" />
  <link rel="stylesheet" href="css/app.css" type="text/css" />
  <link rel="stylesheet" href="js/handsontable/handsontable.full.css">
  <link rel="stylesheet" href="js/toastr.min.css">
  <style>
    @media screen and (max-width: 768px) {
      .navbar-brand {
        display: inline-block;
        float: none;
        height: auto;
        padding: 10px 20px 0px;
        font-size: 20px;
        font-weight: 700;
        line-height: 50px;
        text-align: center;
      }
      .navbar-header > button {
        padding: 20px 17px 10px;
        font-size: 16px;
        line-height: 30px;
        text-decoration: none;
        background-color: transparent;
        border: none;
      }
      .nav-sub {
        height: 0;
        margin-left: -20px;
        overflow: hidden;
        opacity: 0;
        /* -webkit-transition: all 0.2s ease-in-out 0s; */
        /* transition: all 0.2s ease-in-out 0s; */
      }
    }

  </style>
</head>
<body ng-controller="AppCtrl">
  <div class="app" id="app" ng-class="{'app-header-fixed':app.settings.headerFixed, 'app-aside-fixed':app.settings.asideFixed, 'app-aside-folded':app.settings.asideFolded, 'app-aside-dock':app.settings.asideDock, 'container':app.settings.container}" ui-view></div>


  <!-- jQuery -->
  <script src="vendor/jquery/jquery.min.js"></script>
  <script>
    var ZhdApi = (function (){
      if(typeof (javatojs) != 'undefined') {
        return javatojs;
      }else if(typeof (window.webkit) != 'undefined')
      {
        return localStorage;
      }else {
        return localStorage;
      }
    })();
    var Zhdversion = "?2.0"
  </script>
  <!-- Angular -->
  <script src="vendor/angular/angular.js"></script>
  <!-- jQuery.form -->
  <script src="vendor/jquery/jquery-form.js"></script>
  <script src="vendor/angular/angular-animate/angular-animate.js"></script>
  <script src="vendor/angular/angular-cookies/angular-cookies.js"></script>
  <script src="vendor/angular/angular-resource/angular-resource.js"></script>
  <script src="vendor/angular/angular-sanitize/angular-sanitize.js"></script>
  <script src="vendor/angular/angular-touch/angular-touch.js"></script>
<!-- Vendor -->
  <script src="vendor/angular/angular-ui-router/angular-ui-router.js"></script> 
  <script src="vendor/angular/ngstorage/ngStorage.js"></script>

  <!-- bootstrap -->
  <script src="vendor/angular/angular-bootstrap/ui-bootstrap-tpls.js"></script>
  <!-- lazyload -->
  <script src="vendor/angular/oclazyload/ocLazyLoad.js"></script>
   <!--translate-->
  <script src="vendor/angular/angular-translate/angular-translate.js"></script>
  <script src="vendor/angular/angular-translate/loader-static-files.js"></script>
  <script src="vendor/angular/angular-translate/storage-cookie.js"></script>
  <script src="vendor/angular/angular-translate/storage-local.js"></script>
    <script src="../Scripts/bootstrap.js"></script>
  <!-- App -->
  <script src="js/app.js"></script>
  <script src="js/config.js"></script>
  <script src="js/config.lazyload.js"></script>
  <script src="js/config.router.js"></script>
  <script src="js/main.js"></script>
  <script src="js/services/ui-load.js"></script>
  <script src="js/services/toSave.js"></script>
  <script src="js/services/echarts.js"></script>
  <script src="js/filters/fromNow.js"></script>
  <script src="js/directives/setnganimate.js"></script>
  <script src="js/directives/ui-butterbar.js"></script>
  <script src="js/directives/ui-focus.js"></script>
  <script src="js/directives/ui-fullscreen.js"></script>
  <script src="js/directives/ui-jq.js"></script>
  <script src="js/directives/ui-module.js"></script>
  <script src="js/directives/ui-nav.js"></script>
  <script src="js/directives/ui-scroll.js"></script>
  <script src="js/directives/ui-shift.js"></script>
  <script src="js/directives/ui-toggleclass.js"></script>
  <script src="js/directives/ui-validate.js"></script>
  <script src="js/controllers/bootstrap.js"></script>
  <script src="js/handsontable/handsontable.full.js"></script>
  <script src="js/toastr.min.js"></script>
   
  <!-- Lazy loading -->
   
</body>

<!--<button id="fff" style="float:right"> 测试推送</button>-->
</html>
<script src="/Scripts/jquery.signalR-2.2.2.js"></script>
<script src="/signalr/hubs"></script>
<script type="text/javascript">
    $(function () {
        var ZhdMsgHub1 = $.connection.ZhdMsgHub;
        ZhdMsgHub1.hubName = 'ZhdMsgHub';
        ZhdMsgHub1.connection.start(null, function () {
          
            ZhdMsgHub1.server.setName(JSON.parse(sessionStorage.getItem("user")).Id);//当前用户id
            // $.connection.hub.logging = true;
            //$("#fff").click(function send() {
            //    ZhdMsgHub1.server.sendAll("测试消息");
            //})
        });
        ZhdMsgHub1.client.ShowNotify = function (msg) {
            console.log("msg：" + msg);
            if (typeof (HDJsExt) != "undefined")   {
                HDJsExt.ShowNotify("提醒：", msg);
            }
            toastr.success("你有新消息了:" + msg);
        };
       
    });

</script>